package com.pureut.storage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.storage.domain.AllotManagement;
import com.pureut.storage.dto.AllotManagementDto;
import com.pureut.storage.dto.AndroidHandoverPdaDto;
import com.pureut.storage.dto.AndroidPdaDto;
import com.pureut.storage.export.AllotManagementExport;
import com.pureut.storage.vo.AllotManagementVo;
import com.pureut.storage.vo.AllotPdaListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AllotManagementMapper extends BaseMapper<AllotManagement> {

    /**
     * 调拨单列表
     */
    List<AllotManagementDto> selecAllottList(AllotManagementVo allotManagementVo);

    /**
     * 调拨单交接列表
     * @param deptId
     * @return
     */
    List<AndroidHandoverPdaDto> getAndroidHandoverList(Long deptId);

    AndroidHandoverPdaDto getAndroidHandoverView(Long id);

    List<AndroidPdaDto> getPdaList(AllotPdaListVo allotPdaListVo);

    List<AndroidPdaDto> getPdaList1(AllotPdaListVo allotPdaListVo);

    List<AndroidPdaDto> getPdaList3(AllotPdaListVo allotPdaListVo);

    AndroidPdaDto getPdaListView(AllotPdaListVo allotPdaListVo);

    AndroidPdaDto getPdaListView1(AllotPdaListVo allotPdaListVo);

    /**
     * 导出调拨单
     * @param allotManagementVo
     * @return
     */
    List<AllotManagementExport> getInfoExport(AllotManagementVo allotManagementVo);
}
